package com.bao.work.classw;

/**
 * @author baoye
 * @date 2024-07-29/18:52
 */
public class Student {
    private String sid;
    private String name;
    private Double height;

    @Override
    public String toString() {
        return "学号:" + sid +
                "\t 姓名:" + name +
                "\t 身高:" + height;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Student(String sid, String name, Double height) {
        this.sid = sid;
        this.name = name;
        this.height = height;
    }

    public Student() {
    }
}
